DevForce Help Reference
Deconstruct<T>(T,Boolean) Method


Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type
Deconstruct an anonymous type into an object array.
Syntax
'Declaration
 
Public Overloads Shared Function Deconstruct(Of T)( _
   ByVal item As T, _
   ByVal shouldRecurse As Boolean _
) As Object()
'Usage
 
Dim item As T
Dim shouldRecurse As Boolean
Dim value() As Object
 
value = AnonymousFns.Deconstruct(Of T)(item, shouldRecurse)
public static object[] Deconstruct<T>( 
   T item,
   bool shouldRecurse
)

Parameters

item
shouldRecurse
Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnonymousFns Class
AnonymousFns Members
Overload List

Send Feedback